<?php

class ErrorHelper{
	
	//ERROR MESSAGES
	const ERR1001 = "Invalid Employee ID or Password.";
	
	
	public static function getErrorMessage($errorCode)
	{
		$class = new ReflectionClass('ErrorHelper');
		$constants = $class->getConstants();
		return $constants[$errorCode];
	}
}